/*
 =========================================================
 * Vue Black Dashboard - v1.1.2
 =========================================================

 * Product Page: https://www.creative-tim.com/product/black-dashboard
 * Copyright 2023 Creative Tim (http://www.creative-tim.com)

 =========================================================

 * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

 */
import Vue from "vue";
import VueRouter from "vue-router";
import RouterPrefetch from 'vue-router-prefetch'
import App from "./App";
// TIP: change to import router from "./router/starterRouter"; to start with a clean layout
import router from "./router/index";

import BlackDashboard from "./plugins/blackDashboard";
import i18n from "./i18n"
import './registerServiceWorker'
import {Button, Popconfirm, Popover, Tree,Drawer,Step,Steps,Tabs,TabPane,PageHeader,Divider, } from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';

// 引入video.js
import Video from 'video.js'
import 'video.js/dist/video-js.css'
import store from '../src/vuex'

import axios from 'axios'
import VueAxios from "vue-axios";

Vue.prototype.$video = Video
Vue.use(BlackDashboard);
Vue.use(VueRouter);
Vue.use(RouterPrefetch);
Vue.use(Tree);
Vue.use(Divider);
Vue.use(Popconfirm);
Vue.use(Popover);
Vue.use(Button);
Vue.use(PageHeader);
Vue.use(Drawer);
Vue.use(Step);
Vue.use(Steps);
Vue.use(Tabs);
Vue.use(TabPane);

Vue.use(VueAxios,axios)
//其他vue组件中就可以this.$axios调用使用
Vue.prototype.$axios = axios
/* eslint-disable no-new */
new Vue({
  router,
  i18n,
  store,
  render: h => h(App)
}).$mount("#app");
